﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SecondMaster.Master" AutoEventWireup="true" CodeBehind="NewsDefault.aspx.cs" Inherits="MyWeb.Modules.News.NewsDefault" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:Literal ID="ltrnews" runat="server"></asp:Literal>
            <!--Paging-->
            <div class="toolbar-bottom">
                <div class="toolbar">
                    <div class="paging clearn-fix">
                        <span class="first">
                            <asp:LinkButton ID="first" runat="server" OnClick="Page_Button_Click" CausesValidation="false"
                                rel="nofollow" Visible="false">Đầu</asp:LinkButton></span> <span class="prev">
                                    <asp:LinkButton ID="prev" runat="server" OnClick="Page_Button_Click" CausesValidation="false"
                                        rel="nofollow" Visible="false"></asp:LinkButton></span>
                        <asp:Literal ID="ltrPrivious" runat="server"></asp:Literal>
                        <asp:DataList ID="pNum" runat="server" OnItemCommand="pNum_ItemCommand" OnItemDataBound="pNum_ItemDataBound"
                            RepeatLayout="Flow" RepeatDirection="Horizontal">
                            <ItemTemplate>
                                <asp:LinkButton ID="btn" runat="server" CommandArgument='<%# Eval("PageIndex") %>'
                                    CommandName="page" Text='<%# Eval("PageText") %>'></asp:LinkButton></ItemTemplate>
                        </asp:DataList>
                        <asp:Literal ID="ltrNext" runat="server"></asp:Literal>
                        <span class="next">
                            <asp:LinkButton ID="next" runat="server" OnClick="Page_Button_Click" CausesValidation="false"
                                rel="nofollow" Visible="false"></asp:LinkButton></span> <span class="last">
                                    <asp:LinkButton ID="last" runat="server" OnClick="Page_Button_Click" CausesValidation="false"
                                        rel="nofollow" Visible="false">Cuối</asp:LinkButton></span>
                    </div>
                </div>
            </div>
            <!--end Paging-->
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
